package com.welkom.everydate.common;

public class Constants {
	public static class MenuLevel{
		public static final int MENU_LEVEL_FIRST=1;
		public static final int MENU_LEVEL_SECOND=2;
	}
	
	public static class OperationType{
		public static final int OPERATION_TYPE_VIEW=0;
		public static final int OPERATION_TYPE_UPDATE=1;
		public static final int OPERATION_TYPE_DELETE=2;
		public static final int OPERATION_SUB_LIST=3;
	}
	
	public static class OperationName{
		public static final String OPERATION_NAME_VIEW="view";
		public static final String OPERATION_NAME_UPDATE="update";
		public static final String OPERATION_NAME_DELETE="delete";
		public static final String OPERATION_NAME_VIEW_SUB_LIST="viewSubList";
	}
	
	public static class OperationButtonStyle{
		public static final String OPERATION_CLASS_VIEW="icon-eye-open";
		public static final String OPERATION_CLASS_UPDATE="icon-pencil";
		public static final String OPERATION_CLASS_DELETE="icon-remove";
		public static final String OPERATION_CLASS_LIST="icon-list";
	}
	
	public static class OperationButtonIcon{
		public static final String OPERATION_BUTTON_ICON_VIEW="icon-play";
		public static final String OPERATION_BUTTON_ICON_EDIT="icon-pencil";
		public static final String OPERATION_BUTTON_ICON_DELETE="icon-remove";
	}
	
	public static class OperationAltText{
		public static final String OPERATION_ALT_TEXT_VIEW="查看";
		public static final String OPERATION_ALT_TEXT_UPDATE="更新";
		public static final String OPERATION_ALT_TEXT_DELETE="删除";
		public static final String OPERATION_ALT_TEXT_SUB_LIST="子集内容";
	}
	public static class SessionPageData{
		public static final String SESSION_PAGE_DATE_RESOURCE="resourcePageData";
	}
	
	public static class Pagination{
		public static final int DEFAULT_PAGE_SIZE=10;
		public static final int DEFAULT_PAGE_NAVIGATOR_LENGTH=8;
	}
	
	public static class ResultCode{
		public static final int RESULT_CODE_SUCCESS=0;
		public static final int RESULT_CODE_FAIL=1;
	}
	
	public static class Message{
		public static final String MESSAGE_OBJECT_NOT_EXSIT="objectNotExsit";
	}
	
	public static final class ResourceType{
		public static final int RESOURCE_TYPE_MODULE_MENU=1;
		public static final int RESOURCE_TYPE_SECOND_MENU=2;
		public static final int RESOURCE_TYPE_OPERATION=3;
	}
	
	

}
